# SPDX-FileCopyrightText: Copyright 2022-2024 深圳市同心圆网络有限公司
# SPDX-License-Identifier: GPL-3.0-only

tags:
  - shell
summary: 列出终端
description: 列出终端
operationId: "{{ uniqueOpId() }}"
requestBody:
  content:
    application/json:
      schema:
        type: object
        properties:
          token:
            type: string
            description: 访问令牌
          id:
            type: string
            description: SSH连接ID
responses:
  "200":
    description: 成功
    content:
      application/json:
        schema:
          type: array
          items:
            $ref: "@schemas/shellInfo.yml.njk" 
  "500":
    description:  失败
    content:
      application/json:
        schema:
          $ref: "@schemas/errInfo.yml.njk" 